import { Module, SetMetadata } from "@nestjs/common";
import { MODULE_PATH } from "@nestjs/common/constants";
import { TypeOrmModule } from "@nestjs/typeorm";
import { AdminUserController } from "./user.controller";
import { AdminUserService } from "./user.service";
import { Address } from "/@/entities/user/Address.entity";
import { User } from "/@/entities/user/User.entity";

@Module({
  imports: [TypeOrmModule.forFeature([User, Address])],
  controllers: [AdminUserController],
  providers: [AdminUserService],
  exports: [AdminUserService],
})
@SetMetadata(MODULE_PATH, "/admin")
export class AdminUserModule {
  //
}
